package com.puge.exceptionhandle;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author by sun
 * @date 2021/6/4.16:29
 */
//自定义异常类
    @Data//get  set方法
    @AllArgsConstructor//  有参构造
    @NoArgsConstructor//   无参构造
public class PuGeException extends RuntimeException{

//    状态码
    private Integer code;

//    异常信息
    private String msg;


}
